/* For Development Purposes only */


.sp-gallery, .sp-gallery *                                      { box-sizing: border-box; }
.sp-gallery                                                     { margin: 0 0 1.5rem 0; }

.sp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .sp-gallery-grid                                            { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) {
    .sp-gallery-grid                                            { grid-template-columns: repeat(6, 1fr); }
}

.sp-gallery-item {
    position: relative;
    display: block;
    cursor: pointer;
    border: 0;
    padding: 0;
    background: #f4f4f4;
    border: 1px solid #f4f4f4;
    border-radius: 0.25rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.sp-gallery-item.sp-gallery-hidden                              { display: none; }
.sp-gallery-item:focus,
.sp-gallery-item:focus-visible                                  { outline: 3px solid #0d6efd; outline-offset: 2px; }
.sp-gallery-item:hover .sp-gallery-thumb                        { opacity: 0.85; }

.sp-gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.15s ease-in-out;
}

.sp-gallery-pagination-wrap                                     { margin-top: 1rem; display: none; }
.sp-gallery-pagination-wrap .pagination                         { margin-bottom: 0; flex-wrap: wrap; }
.sp-gallery-pagination-wrap .pagination .page-item              { margin-bottom: 0.5rem; }

.sp-gallery-modal .modal-body                                   { padding-top: 0.5rem; }
.sp-gallery-modal-img {
    max-height: 65vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto 0.75rem auto;
    display: block;
    border-radius: 0.25rem;
}
.sp-gallery-modal-description                                   { margin-bottom: 0.75rem; color: #444; }
.sp-gallery-modal-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.modal-title.sp-gallery-modal-title                             { font-size: 1.5rem; margin-left: 0; }
button.btn-close.sp-gallery-modal-close                         { margin-right: 4px; }

.page-item.disabled .page-link 
{
    color: var(--bs-secondary-color, #6c757d) !important;
    pointer-events: none !important;
    opacity: 0.6;
}